package com.openbravo.pos.payment;

import com.openbravo.pos.forms.AppProperties;

public class PaymentGatewayFac
{
  public static PaymentGateway getPaymentGateway(AppProperties paramAppProperties)
  {
    String str = paramAppProperties.getProperty("payment.gateway");
    if ("external".equals(str))
      return new PaymentGatewayExt();
    if ("PayPoint / SecPay".equals(str))
      return new PaymentGatewayPayPoint(paramAppProperties);
    if ("AuthorizeNet".equals(str))
      return new PaymentGatewayAuthorizeNet(paramAppProperties);
    if ("La Caixa (Spain)".equals(str))
      return new PaymentGatewayCaixa(paramAppProperties);
    if ("Planetauthorize".equals(str))
      return new PaymentGatewayPlanetauthorize(paramAppProperties);
    if ("Firs Data / LinkPoint / YourPay".equals(str))
      return new PaymentGatewayLinkPoint(paramAppProperties);
    if ("PaymentsGateway.net".equals(str))
      return new PaymentGatewayPGNET(paramAppProperties);
    return null;
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.payment.PaymentGatewayFac
 * JD-Core Version:    0.6.0
 */